<wicket:head xmlns:wicket="http://wicket.apache.org">
    <link rel="stylesheet" href="static/ace/css/datepicker.css"/>
    <script src="static/ace/js/date-time/bootstrap-datepicker.min.js"></script>
    <script type="text/javascript">
        function datepicker() {
            $('.date-picker').datepicker({
                autoclose:true
            });
        }
    </script>
</wicket:head>
<wicket:extend xmlns:wicket="http://wicket.apache.org">
    <div class="input-group">
        <input class="form-control date-picker" wicket:id="datepicker" id="id-date-picker-1" type="text"
               data-date-format="dd-mm-yyyy"/>
                <span class="input-group-addon">
                    <i class="icon-calendar bigger-110"/>
                </span>
    </div>

</wicket:extend>